import request from '@/utils/request'

// 获取路由
export const getRouters = () => {
  return request({
    url: '/getRouters',
    method: 'get'
  })
}

export function getListApi(data) {
  return request({
    url: 'api/menu/getList?kind=' + data,
    method: 'post',
  })
}